package com.ljk.study5ormmybatis;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * desc: springboot的mybatis和  数据的事务
 * {@link EnableTransactionManagement}这个注解负责开启事务控制.注:可以忽略spring默认开启的
 * @author ljk
 * @date 2021/3/27 18:36
 */
@SpringBootApplication
@EnableTransactionManagement
public class Study5OrmMybatisApplication {

    public static void main(String[] args) {
        SpringApplication.run(Study5OrmMybatisApplication.class, args);
    }

}
